package com.test.stream.bean;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.xml.bind.annotation.*;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@XmlRootElement(name="context")
@XmlAccessorType(XmlAccessType.FIELD)
public class Context {

    @XmlAttribute(name = "id")
    private String id;

    @XmlElement(name = "bean")
    private List<Bean> beanList;

}
